package com.epoch.service;

import com.epoch.entity.Consumer;
import com.epoch.entity.Course;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * @author admin
 */
@Service
public interface CourseService {
    /**
     * get course by id
     * @param courseId
     * @return
     */
    Course getCourseById(String courseId);

    /**
     * get course by typeId
     * @param typeId
     * @return
     */
    List<Course> getCourseByTypeId(String typeId);
}
